package com.shusiedu.model.po;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;
import org.springframework.data.annotation.Id;


import java.util.Date;


@Data
@NoArgsConstructor
@SuperBuilder(toBuilder = true)
public class SuperPo {
    /**
     * 主键ID
     */
    @TableId(type = IdType.ASSIGN_ID)
    @Id
    private String id;
    @TableField(fill = FieldFill.INSERT)
    private String creator;
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private String editor;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;
}
